package day02;

public class prime1 {
	public static void main(String[] args) {
		int n = Integer.parseInt(args[0]);
		int i;
		if (n <= 1)
			System.out.println(n+"不是素数");
		else {
			for (i = 2; i < n; i++) {
				if (n % i == 0)
					break;
			}
			if(i<n)System.out.println(n+"不是素数");
			else   System.out.println(n+"是素数");
		}
	}
}
